.header{
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  height: .8rem;
  border-bottom: 1px solid #ddd;
  background-color: #fa6060; 
}
.header .icon{
  padding: 0 .2rem;
  font-size: .3rem;
  position: absolute;
  left: 0.1rem;
  top: 0;
  bottom: 0;
  line-height: .8rem;
  color: white;
}
.header .header_title{
  font-size: .35rem;
  color: black;
  flex: 1;
  text-align: center;
  color: white;
}
/* main */
.main:before{
  content: ' ';
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background: -webkit-linear-gradient(#fa6060, #fc8a8a); /* Safari 5.1 - 6.0 */
  background: -o-linear-gradient(#fa6060, #fc8a8a); /* Opera 11.1 - 12.0 */
  background: -moz-linear-gradient(#fa6060, #fc8a8a); /* Firefox 3.6 - 15 */
  background: linear-gradient(#fa6060, #fc8a8a); /* 标准的语法 */
}
.content{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content .userhead{
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid #ddd;
  margin-top: .5rem;
}
.content .username{
  font-size: .25rem;
  color: white;
  margin-top: .1rem;
}
.content .qrcode_wrap{
  margin-top: .5rem;
  width: 4rem;
  min-height: 2rem;
  border: 1px solid #ddd;
}
.content .qrcode_wrap .qrcode{
  width: 100%;
}
.content .ms{
  margin-top: .5rem;
  color: white;
  font-size: .5rem;
}
.content .cams{
  margin-top: .2rem;
  color: white;
  font-size: .4rem;
}
.content .subms{
  margin-top: .3rem;
  color: white;
  font-size: .3rem;
}

.down{
  margin: 0 auto;
  margin-top: .5rem;
  color: white;
  text-align: center;
  font-size: .4rem;
  border-radius: 5px;
  width: 50%;
}

 .down .btn_down{
  height: .8rem;
  background-color: #4CAF50;
  border-radius: 5px;
  color: white;
  font-size: .3rem;
  text-align: center;
  line-height: .8rem;
}

/* layer */
.layer{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.6);
  z-index: 999;
}
.layer .layer_con{
  position: relative;
  margin-top: 40%;
  width: 80%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 5px 1px #afafaf;
  margin-left: 10%;
  overflow: hidden;
  padding-bottom: .5rem;
}
.layer .layer_con .close{
  position: absolute;
  right: 5px;
  top: 0px;
  font-size: .4rem;
  color: #717171;
  padding: 0.1rem;
}
.layer .layer_con .title{
  padding: .2rem;
  font-size: 0.3rem;
  color: #4a4a4a;
  text-align: center;
  font-weight: bold;
  margin-top: .4rem;
}
.layer .layer_con .btn_group{
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: .5rem;
}
.layer .layer_con .cancel{
  width: 35%;
  height: .6rem;
  background-color: #d2eefb;
  border-radius: 5px;
  text-align: center;
  line-height: .6rem;
}
.layer .layer_con .sure{
  width: 35%;
  height: .6rem;
  background-color: #64c269;
  border-radius: 5px;
  text-align: center;
  line-height: .6rem;
  color: white;
}